FROM openjdk:8-jre-alpine3.9

MAINTAINER 756585379@qq.com

RUN mkdir -p /opt/project/

ADD *.jar /opt/project/app.jar

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone

WORKDIR /opt/project

EXPOSE 9999

ENTRYPOINT ["java","-Xmx128m","-Xms128m","-jar","app.jar"]


